package code.rocky.chapter06;

public class Suggest85 {
    public static void main(String[] args) {
        doSports(null);
    }

    public static void doSports(Season season) {
        switch (season) {
            case Spring:
                System.out.println("spring");
                break;
            case Summer:
                System.out.println("summer");
                break;
            case Autumn:
                System.out.println("autumn");
                break;
            case Winter:
                System.out.println("winter");
                break;
            default:
                System.out.println("error");
                break;
        }
    }
}
